package com.yntsoft.entity;

import java.io.Serializable;
import java.util.Date;

public class Role  implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -4581764796010271700L;

	private Integer id;

    private String roleName; 

    private Integer roleType;

    private Date createTime;

    private Integer isLock;
    public final static Integer IS_LOCK_1=1;//锁定
    public final static Integer IS_LOCK_2=2;//正常

    private String roleDescription;
    
    private String timeStr;
    
    private Integer userIsRole;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    public String getRoleDescription() {
        return roleDescription;
    }

    public void setRoleDescription(String roleDescription) {
        this.roleDescription = roleDescription == null ? null : roleDescription.trim();
    }

	public String getTimeStr() {
		return timeStr;
	}

	public void setTimeStr(String timeStr) {
		this.timeStr = timeStr;
	}

	public Integer getUserIsRole() {
		return userIsRole;
	}

	public void setUserIsRole(Integer userIsRole) {
		this.userIsRole = userIsRole;
	}
}